package org.bim.view.drag.design.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Table;

/**
 * @author bim-view
 * @date 2021/12/16 2:24 下午
 */
@Getter
@Setter
@Table(name = "t_visual_config")
public class TVisualConfig extends BaseEntity {
    private String component;
    private String detail;
    private String visualId;

    public static TVisualConfig initWithId(String id) {
        TVisualConfig entity = new TVisualConfig();
        entity.setId(id);
        return entity;
    }

    public static TVisualConfig initWithVisualId(String visualId) {
        TVisualConfig entity = new TVisualConfig();
        entity.setVisualId(visualId);
        return entity;
    }
}
